//
//  HSYColorHelper.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/4.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HSYColorHelper : NSObject

@property (nonatomic, strong, readonly) UIColor *navBarColor;
@property (nonatomic, strong, readonly) UIColor *lineColor;

@property (nonatomic, strong, readonly) UIColor *deleteColor;
@property (nonatomic, strong, readonly) UIColor *cancelColor;

+ (instancetype)shareInstance;

/**
 *  画一张图片(二次封装)
 *
 *  @param color 图片颜色
 *
 *  @return UIImage对象
 */
- (UIImage *)canvasImageWithColor:(UIColor *)color;

/**
 *  画一张图片(二次封装)
 *
 *  @param color 图片颜色
 *  @param rect  范围
 *
 *  @return UIImage对象
 */
- (UIImage *)canvasImageWithColor:(UIColor *)color rect:(CGRect)rect;

@end
